namespace QLGT.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class tbl_Khoa
    {
        public tbl_Khoa()
        {
            tbl_MonHoc = new HashSet<tbl_MonHoc>();
            tbl_SachBan = new HashSet<tbl_SachBan>();
        }

        [Key]
        [StringLength(10)]
        public string MaKhoa { get; set; }

        [Required]
        [StringLength(10)]
        public string Khoa { get; set; }

        [Required]
        [StringLength(50)]
        public string TenKhoa { get; set; }

        public virtual ICollection<tbl_MonHoc> tbl_MonHoc { get; set; }

        public virtual ICollection<tbl_SachBan> tbl_SachBan { get; set; }
    }
}
